<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            display: inline-block;
            width: 100px;
            height: 120px;
            background-image: url(./1.jpg);
            background-position: -240px 0;
        }
        .x{
            display: inline-block;
            width: 100px;
            height: 120px;
            background-image: url(./1.jpg);
            background-position: -255px -550px;
        }
    </style>
</head>
<body>
    <div></div>
    <div></div>
    <div class="x"></div>
</body>
</html>